package com.heima.aliyun.config;

import org.springframework.context.annotation.Configuration;

@Configuration
public class AliConfig {

	/** accessKeyId */
	private static String accessKeyId="LTAI5t77dPpyJvWfmHq7RgUd";

	/** accessKeySecret */
	private static String accessKeySecret="bVo4cdePga6vBtn2RZ2pguVGb20yK1";
	
	/** 短信每天发送最大次数 */
	private static Integer sendMaxTime=100;
	
	/** 短信失效时间 */
	private static Long codeFailureTime=Long.getLong("12000");
	
	public static Integer getSendMaxTime() {
		return sendMaxTime;
	}

	public void setSendMaxTime(Integer sendMaxTime) {
		AliConfig.sendMaxTime = sendMaxTime;
	}

	public static Long getCodeFailureTime() {
		return codeFailureTime;
	}

	public void setCodeFailureTime(Long codeFailureTime) {
		AliConfig.codeFailureTime = codeFailureTime;
	}

	public static String getAccessKeyId() {
		return accessKeyId;
	}

	public void setAccessKeyId(String accessKeyId) {
		AliConfig.accessKeyId = accessKeyId;
	}

	public static String getAccessKeySecret() {
		return accessKeySecret;
	}

	public void setAccessKeySecret(String accessKeySecret) {
		AliConfig.accessKeySecret = accessKeySecret;
	}

}
